package com.ramos.kuaixiao.entity;

import java.io.Serializable;

public class SendOrderDetail implements Serializable {

    public String productInfoId;// 商品名称

    public String productBarCode;//条形码

    public String storeHouseId;//编码

    public String storeHouseName;//图片

    public String productInfoName;//价格

    public String calcParam;//箱

    public String smallUnitCount; //支

    public String largeUnitCount; //因子

    public String last_discount;

    //来源于价格套里面的那个含税零售价(tax_sale_single_price),如果价格套找不到，
    //则去商品表里面找那个商品的不含税的价格，随便哪个都行，
    //然后用这个价格*(1+税率(应该都是17%))
    public String unitSalePrice;

    public String productSalePrice;

    public String comment;

    public int orderSource;//订单来源，app侧默认2

    public double ucti;//unitSalePrice*calcParam

    //先找到不含税销售价,来源于价格套表里面的不含税销售价,如果价格套找不到，则去商品表里面找那个商品
    //的不含税的价格;找到不含税销售价后，用这个值*calcParam
    public double ucte;

    public double salePriceT4;//含税零售价(跟unitSalePrice保持一致)

    public double realUcti;//实际含税销售价,目前APP这侧没有折扣,因此等于ucti

    public double realUcte;//实际不含税销售价,目前APP这侧没有折扣,因此等于ucte

    public double tcti;//实际含税销售总价==realUcti*largeUnitCount

    public double tcte;//实际不含税销售总价 == realUcte*largeUnitCount

    public double discountRate;//目前没有折扣，默认填100.0

    public double taxRate;//税率,从商品表里面的商品本身的属性可以查询出税率

    public double taxAmount;//税金 == tcti - tcte

    public double initPrice;//商品表里面商品本身属性的那个不含税的价格

    public String getLast_discount() {
        return last_discount;
    }

    public void setLast_discount(String last_discount) {
        this.last_discount = last_discount;
    }

    public String getCalcParam() {
        return calcParam;
    }

    public void setCalcParam(String calcParam) {
        this.calcParam = calcParam;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getLargeUnitCount() {
        return largeUnitCount;
    }

    public void setLargeUnitCount(String largeUnitCount) {
        this.largeUnitCount = largeUnitCount;
    }

    public String getProductInfoId() {
        return productInfoId;
    }

    public void setProductInfoId(String productInfoId) {
        this.productInfoId = productInfoId;
    }

    public String getProductBarCode() {
        return productBarCode;
    }

    public void setProductBarCode(String productBarCode) {
        this.productBarCode = productBarCode;
    }

    public String getProductInfoName() {
        return productInfoName;
    }

    public void setProductInfoName(String productInfoName) {
        this.productInfoName = productInfoName;
    }

    public String getProductSalePrice() {
        return productSalePrice;
    }

    public void setProductSalePrice(String productSalePrice) {
        this.productSalePrice = productSalePrice;
    }

    public String getSmallUnitCount() {
        return smallUnitCount;
    }

    public void setSmallUnitCount(String smallUnitCount) {
        this.smallUnitCount = smallUnitCount;
    }

    public String getStoreHouseId() {
        return storeHouseId;
    }

    public void setStoreHouseId(String storeHouseId) {
        this.storeHouseId = storeHouseId;
    }

    public String getStoreHouseName() {
        return storeHouseName;
    }

    public void setStoreHouseName(String storeHouseName) {
        this.storeHouseName = storeHouseName;
    }

    public String getUnitSalePrice() {
        return unitSalePrice;
    }

    public void setUnitSalePrice(String unitSalePrice) {
        this.unitSalePrice = unitSalePrice;
    }

    public int getOrderSource() {
        return orderSource;
    }

    public void setOrderSource(int orderSource) {
        this.orderSource = orderSource;
    }

    public double getUcti() {
        return ucti;
    }

    public void setUcti(double ucti) {
        this.ucti = ucti;
    }

    public double getUcte() {
        return ucte;
    }

    public void setUcte(double ucte) {
        this.ucte = ucte;
    }

    public double getSalePriceT4() {
        return salePriceT4;
    }

    public void setSalePriceT4(double salePriceT4) {
        this.salePriceT4 = salePriceT4;
    }

    public double getRealUcti() {
        return realUcti;
    }

    public void setRealUcti(double realUcti) {
        this.realUcti = realUcti;
    }

    public double getRealUcte() {
        return realUcte;
    }

    public void setRealUcte(double realUcte) {
        this.realUcte = realUcte;
    }

    public double getTcti() {
        return tcti;
    }

    public void setTcti(double tcti) {
        this.tcti = tcti;
    }

    public double getTcte() {
        return tcte;
    }

    public void setTcte(double tcte) {
        this.tcte = tcte;
    }

    public double getDiscountRate() {
        return discountRate;
    }

    public void setDiscountRate(double discountRate) {
        this.discountRate = discountRate;
    }

    public double getTaxRate() {
        return taxRate;
    }

    public void setTaxRate(double taxRate) {
        this.taxRate = taxRate;
    }

    public double getTaxAmount() {
        return taxAmount;
    }

    public void setTaxAmount(double taxAmount) {
        this.taxAmount = taxAmount;
    }

    public double getInitPrice() {
        return initPrice;
    }

    public void setInitPrice(double initPrice) {
        this.initPrice = initPrice;
    }

    @Override
    public String toString() {
        return "SendOrderDetail{" +
                "productInfoId='" + productInfoId + '\'' +
                ", productBarCode='" + productBarCode + '\'' +
                ", storeHouseId='" + storeHouseId + '\'' +
                ", storeHouseName='" + storeHouseName + '\'' +
                ", productInfoName='" + productInfoName + '\'' +
                ", calcParam='" + calcParam + '\'' +
                ", smallUnitCount='" + smallUnitCount + '\'' +
                ", largeUnitCount='" + largeUnitCount + '\'' +
                ", last_discount='" + last_discount + '\'' +
                ", unitSalePrice='" + unitSalePrice + '\'' +
                ", productSalePrice='" + productSalePrice + '\'' +
                ", comment='" + comment + '\'' +
                ", orderSource=" + orderSource +
                ", ucti=" + ucti +
                ", ucte=" + ucte +
                ", salePriceT4=" + salePriceT4 +
                ", realUcti=" + realUcti +
                ", realUcte=" + realUcte +
                ", tcti=" + tcti +
                ", tcte=" + tcte +
                ", discountRate=" + discountRate +
                ", taxRate=" + taxRate +
                ", taxAmount=" + taxAmount +
                ", initPrice=" + initPrice +
                '}';
    }
}



